package com.lyx.apollo_test;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.context.annotation.Configuration;

/**
 * @author LiuYunXin
 * @create 2022-12-03-17:07
 */
@Configuration
public class Configuration1 implements ApplicationRunner {
    @Value("${TEST}")
    public String test;


    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.out.println(test);
    }
}
